<template>
    <div class="search-container">
        <div class="shadow" @click="$router.push({ name: 'search-list' })"></div>
        <div class="search">
            <van-search placeholder="请输入搜索关键词" />
        </div>
    </div>
</template>

<script lang="ts" setup>
</script>

<style lang="scss" scoped>
.search-container {
    position: relative;
    width: 100%;
    display: flex;
    height: 54px;
    z-index: 888;
}

.van-search {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 54px;
    width: 100%;
}

.shadow {
    position: absolute;
    width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    // pointer-events: none;
    height: 54px;
    z-index: 999;
    cursor: pointer;
    // background-color: red;
}
</style>